package com.xyd.Biz.Impl;

import com.xyd.Biz.ManagerLoginBiz;
import com.xyd.Dao.ManagerLogin;
import com.xyd.Entity.ManageUser;
import com.xyd.Util.SqlSessionFactoryUtil;
import org.apache.ibatis.session.SqlSession;

public class ManagerLoginBizImpl implements ManagerLoginBiz {

    ManagerLogin managerLogin = null;
    SqlSession session = null;

    public ManagerLoginBizImpl() {
        session = SqlSessionFactoryUtil.open();
        managerLogin = session.getMapper(ManagerLogin.class);
    }

    @Override
    public ManageUser ManagerLogin(ManageUser manageUser) {
        return managerLogin.ManagerLogin(manageUser);
    }
}

